<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<jsp:include page="../fragments/header.jsp">
	<jsp:param name="title" value="${product.name}" />
</jsp:include>

<div class="product_details_box">

	<div class="form-horizontal">
		<div class="form-group">
			<label class="label"><b>Price</b></label>
			<label class="data">${product.price} $</label>
		</div>
		<div class="form-group">
			<label class="label"><b>Author</b></label>
			<label class="data">${product.author}</label>
		</div>
		<div class="form-group">
			<label class="label"><b>Publisher</b></label>
			<label class="data">${product.publisher}</label>
		</div>
		<div class="form-group">
			<label class="label"><b>ISBN</b></label>
			<label class="data">${product.isbn}</label>
		</div>
		<form action="${pageContext.request.contextPath}/shopping_cart">
			<input type="hidden" name="id" value="${product.id}">
			<button type="submit" class="btn btn-default btn-block">
				<b>Add to Shopping Cart</b>
			</button>
		</form>
	</div>
</div>

<jsp:include page="../fragments/footer.jsp" />